006 com0com
在本次讲座中,让我们看看如何设置零。
In this lecture let's look at getting some zero come set up.
所以我要打开这个我已经下载的文件夹,现在我正在使用版本三点零点零点零,这是 64 位版本。
So I'm going to open this folder I've already downloaded right now I'm working with version three point zero point zero point zero and that's the 64 bit version.
我将继续并单击“设置”并以管理员身份运行。
And I'm just going to go ahead and write click on set up and run that is administrator.
我将选择“是”,然后单击“下一步”同意。
I'm going to select to yes click next agree.
我将保留所有选项的原样,并在安装时采用默认位置。
I'm going to leave all options just the way they are and I'm going to take the default location for installation and when I do.
你看我弹出了这个错误消息。
You see I get this error message pop up.
你知道吗。
You know what.
没关系。
That's OK.
只需单击“确定”,然后就可以继续安装了。
Just click ok let it go and it's going to go ahead and keep installing a little bit.
然后我什至可能会弹出一两个错误消息,但这没关系。
And then I might even get one or two more error messages pop up but that's OK.
因此,我们还有另一项任务,我们将继续进行下去。
So we've got another one we're going to go ahead and just continue through that.
这是我们将继续进行的第二个任务。
And here's that second other one we're going to go ahead and continue through that.
因此,通常当您安装某些东西时,会弹出一堆错误。
So normally when you're installing something and you get a bunch of errors pop up.
这不是一件好事,也不是一件好事,然后单击下一步。
That's not a good thing and a great and click next.
然后我只需选择午餐设置并单击“完成”。
And then I'll just select lunch set up and click Finish.
正如我所说,通常情况下,每当您在设置过程中收到一堆错误消息时,这都是一件非常糟糕的事情。
So like I was saying normally it's a pretty bad thing whenever you get a bunch of error messages during setup.
但在这种情况下,程序仍然可以运行。
But in this case the program works anyway.
因此,即使我们收到一些错误消息,我们仍将继续并称其为良好的安装,因为我已经对此进行了测试,并且我知道它最终会起作用。
So we're going to go ahead and call it a good installation even though we get some error messages because I've already tested this and I know that it works in the end.
这就是 0 Come 的样子。
This is what comes 0 Come looks like.
让我解释一下这个程序对 0 的作用。
And let me explain for a second what this program does what comes 0.
com 的作用是使计算机上的 com 端口基本相互连接。
Com is for is making com ports on your computer basically connect to one another.
因此,如果您想象您的计算机有六个不同的端口,那么这些端口可能是允许其连接到外部设备或其他系统的串行端口。
So if you imagine that your computer has Let's pretend it has six different ports those could be let's say serial ports that allow it to connect to external devices or other systems.
现在的计算机确实不再有那种端口了。
Well computers nowadays really don't have those kind of ports anymore.
但 Windows 仍然将所有这些 com 端口内置到操作系统中,即使物理计算机没有这些端口。
But Windows still has all of these com ports built into the operating system even if the physical computer doesn't have them.
每当我们加载一些我们将要使用的程序时,它们都会想要访问这些 com 端口,以便它们可以尝试与外部设备通信。
And whenever we load up some of the programs that we're going to be using they're going to want to access these com ports so that they can try to talk to external devices.
例如,当我们在我们的系统上创建一个 HMO 时,它会想要脱离我们的系统与 C 或某种标签服务器进行通信。
For instance when we create an HMO on our system it's going to want to reach out of our system to talk to a C or some kind of tag server.
好吧,我们将让它通过软件中的 COM 端口进行连接,但我们不会让该 COM 端口连接到硬件。
Well we're going to let it reach out through the COM port in the software but we're not going to let that COM port reach out into hardware.
相反,我们将使用软件将两个 com 端口连接在一起。
Instead we're going to use software to basically connect two of our com ports together.
因此,我们将把 PLCC 标签发送到一个 COM 端口。
So we're going to have our PLCC tags being served out onto one COM port.
然后,我们将通过单独的 COMM 端口连接 HDMI 和 Skanda,然后将这两个端口彼此指向。
We're going to then have our HDMI and Skanda reaching out through a separate COMM port and then we're going to point those two come ports at each other.
因此,HDMI 将认为它正在与外部 PLCC 通信,而 PLCC 将认为它正在与外部服务器交换信息。
So the HDMI is going to think that it's talking to an external PLCC and the PLCC going to think that it's exchanging information with an external server.
你要做的就是到这里来,我们已经在这里得到了这个虚拟端口 Pear's 0。
What were you going to do is come down here and we've already got this virtual port Pear's 0 right here.
我们已经得到了相同的数字,现在我们需要分配它们。
We've got just common in numbers and now we need to assign these.
他们会是什么样子。
What they're going to be.
好吧,我将继续删除这个通讯端口,我想从一个新的端口开始,我将继续并点击“继续”。
Well I'm going to go ahead and just remove this comm port and I'm want to start us off with a fresh pair and I'll go ahead and hit continue for that.
所以现在我们有了这个虚拟端口 pares 0,并且我们在 C 和 C 0 中得到了 c 和 c h 0。
So now we've got this virtual port pares 0 and we've got c and c h zero in C and C 0.
这有点奇怪吧。
That's kind of strange right.
好吧,让我们继续,暂时设置这个,然后我们将继续尝试第二个,我们将其设置为 com 4,一旦我完成了让我只需单击“应用”,然后我就得到了另一个纯粹的 COM 端口,我将把它删除,因为我真正想要的是一对正在加载的 COM 端口。
Well let's go ahead and just set this for now and we're going to go ahead and set that as come to and then we'll go ahead and try this second one and we'll set that to com 4 and once I've got that let me just click on apply and then I've got this other COM port that are pure down here I'm going to remove that because all I really want is one pair that's loading come to talk to come for.
我们将把其他一切都保留在原样。
And we're going to leave everything else in here exactly the way that it is for now.
您在这里看到的基本上是这些 com 端口上从引脚到引脚的电线交换,我们有一个基本的交叉配置,这意味着一个设备能够与另一设备交换信息。
What do you see down here is basically an exchange of wires going from pin to pin on these com ports and we've got a basic crossover configuration which means that one device is able to exchange information with another device.
这就是为什么这些电线不会直接穿过,因为当您通过交换机连接以太网电缆上的东西时,会涉及到一些交换。
That's why these wires don't run straight across because there's some switching involved when you connect things on an ethernet cable through a switch.
这基本上是该交换机正在执行的功能,它交换其中一些电缆并将其中一些电线从一个端口路由到另一个端口。
This is basically the function that that switch is performing it's switching some of these cables and it's routing some of these wires from one port to another.
在这里我们可以定制它。
Here we can customize that.
但由于这是标准连接,我们将保持原样。
But since this is a standard connection we're just going to leave that exactly the way that it is.
我们已经点击了“应用”,仅此而已。
So we've already clicked apply and that's it.
我们已经建立了零通信,我们只想继续让这个家伙运行,每当我们稍后进行通信时,让我们的死亡和滑冰者与运行我们程序的模拟器交谈,这不会我们所有人的灭亡都需要它。
We are set up on comes zero com and we'll just want to go ahead and have this guy running whenever we're doing our communications later on and making our demise and skaters talk to our emulate that's running our program and that won't be required for all of our demise.
只有他们几个。
Just a couple of them.
所以无论如何,这就是 0 come 的意思。
So anyway that's what comes 0 come is.
这确实是我们在本课程中要做的全部事情。
And this is really all that we're going to do with it in this course.
就是这样了。
So that's it.
享受。
Enjoy.